import java.util.Scanner;

public class Signup {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入用户名");
        String User = sc.nextLine();
        System.out.println(User);
        System.out.println("请设置密码");
        String number1 = sc.nextLine();
        System.out.println("请再次输入密码");
        String number2 = sc.nextLine();
        if (number1.equals(number2)){
            System.out.println("注册成功");
        }else{
            System.out.println("两次密码输入不同，请重新输入" );
        }
    }
}
